package com.yy.domain;

import com.yy.common.annotation.Excel;
import com.yy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 道闸对象 park_checkpoint
 * 
 * @author yy
 * @date 2023-10-28
 */
public class ParkCheckpoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** (关卡/出入口)名称 */
    @Excel(name = "(关卡/出入口)名称")
    private String name;

    /** 停车场id */
    @Excel(name = "停车场id")
    private Long carParkId;

    private String parkName;
    /** 位置描述 */
    @Excel(name = "位置描述")
    private String positionDescribe;

    /** 所在楼层 */
    @Excel(name = "所在楼层")
    private Long floor;

    /** 模式(0-完全无人值守/1-半自动/2-完全人工值守) */
    @Excel(name = "模式(0-完全无人值守/1-半自动/2-完全人工值守)")
    private String mode;

    /** 卡点状态 */
    @Excel(name = "卡点状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCarParkId(Long carParkId) 
    {
        this.carParkId = carParkId;
    }

    public Long getCarParkId() 
    {
        return carParkId;
    }
    public void setPositionDescribe(String positionDescribe) 
    {
        this.positionDescribe = positionDescribe;
    }

    public String getPositionDescribe() 
    {
        return positionDescribe;
    }
    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }
    public void setMode(String mode) 
    {
        this.mode = mode;
    }

    public String getMode() 
    {
        return mode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("carParkId", getCarParkId())
            .append("positionDescribe", getPositionDescribe())
            .append("floor", getFloor())
            .append("mode", getMode())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
